]> dgit.raspbian.org Git - gnome-shell.git/commit
autorun-manager: Fix 'destroy' handler of resident source
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 13 Jul 2011 19:22:35 +0000 (21:22 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 13 Jul 2011 19:43:30 +0000 (21:43 +0200)
commit86818e9c529d80cc610c1923468b9470258b5fad
tree683d6d4a44a8dee7b8d36024a1d40991581f6804
parent7a8a00c7057d56350d4b5509cefd812a67d4b7d7
autorun-manager: Fix 'destroy' handler of resident source

If the resident source is destroyed, it should be recreated
immediately, so that it is available when another volume is
mounted. However, we only connect to the 'destroy' signal
on the original source, not on newly created ones. As a result,
the resident source only works twice, after that it shows up
without icon and an empty notification.

Fix by always connecting to the source's 'destroy' signal.
js/ui/autorunManager.js